package com.link.base.base.chiper.service;

import com.link.base.base.chiper.model.ChiperRead;
import com.link.core.basic.service.BasicService;

/**
 * @author: 郑洪达
 * @date: 2018-12-20
 * @comments:
 */
public interface ChiperReadService extends BasicService<ChiperRead> {

    /**
     * 清除缓存
     *
     * @param chiperRead
     * @throws Exception
     */
    public void clearCache(ChiperRead chiperRead) throws Exception;

    /**
     * 查询是否存在该类以及类属性
     *
     * @param chiperRead
     * @throws Exception
     */
    public boolean checkChiper(ChiperRead chiperRead) throws Exception;


    /**
     * 校验输入的字符串替换位置是否合法
     *
     * @param chiperRead
     * @throws Exception
     */
    public boolean checkHidePart(ChiperRead chiperRead) throws Exception;
}
